import Vue from 'vue'
import VueRouter from 'vue-router'
Vue.use(VueRouter)
const router = new VueRouter({
    routes:[
        {
            path: '/',
            redirect: '/homePage'
        },
        {
            path: '/homePage',
            name: 'homePage',
            component:() => import('../views/homePage.vue')
        },
        {
            path: '/mine',
            name: 'mine',
            component:() => import('../views/mine.vue')
        }
    ]
})
export default router